package nc.ui.importexcel.datamapping;

import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton;
import nc.vo.importexcel.consts.LmConst;
import nc.vo.importexcel.datamapping.MappingDocBVO;
import nc.vo.importexcel.datamapping.MappingDocHVO;
import nc.vo.trade.pub.HYBillVO;

public class ClientCtrl extends AbstractManageController {
	
	public ClientCtrl() {
		super();
	}

	public String[] getCardBodyHideCol() {

		return null;
	}

	public int[] getCardButtonAry() {
		return new int[] {
				IBillButton.Add,
				IBillButton.Edit,
				IBillButton.Save,
				IBillButton.Line,
				IBillButton.Cancel,
				IBillButton.Query,
				IBillButton.Delete,
				IBillButton.Return,
				ClientButton.importbutton,
				IBillButton.Refresh};
		
	}

	public boolean isShowCardRowNo() {
		return true;
	}

	public boolean isShowCardTotal() {

		return false;
	}

	public String getBillType() {

		return LmConst.mappingBilltype;
	}

	public String[] getBillVoName() {
		return new String[]{
				HYBillVO.class.getName(),
				MappingDocHVO.class.getName(),
				MappingDocBVO.class.getName()
			}; 
	}

	public String getBodyCondition() {

		return null;
	}

	public String getBodyZYXKey() {

		return null;
	}

	public int getBusinessActionType() {
		return IBusinessActionType.BD;
	}

	public String getChildPkField() {

		return "pk_body";
	}

	public String getHeadZYXKey() {
		return null;
	}

	public String getPkField() {

		return "pk_head";
	}

	public Boolean isEditInGoing() throws Exception {

		return null;
	}

	public boolean isExistBillStatus() {
		return false;
	}

	public boolean isLoadCardFormula() {
		return true;
	}

	public String[] getListBodyHideCol() {
		return null;
	}

	public int[] getListButtonAry() {
		return new int[] {
				IBillButton.Add,
				IBillButton.Edit,
				IBillButton.Query,
				IBillButton.Save,
				IBillButton.Line,
				IBillButton.Cancel,
				IBillButton.Delete,
				IBillButton.Card,
				IBillButton.Refresh};
		 
	}

	public String[] getListHeadHideCol() {
		return null;
	}

	public boolean isShowListRowNo() {
		return true;
	}

	public boolean isShowListTotal() {
		return false;
	}

}
